<?php 

	$menu_name     = $this->formText('menu_name', $this->data['menu_name'], array('class'=>'txtmedium'));
	$options       = array('Inactive','Active');
	$status        = $this->formRadio('status',0,null,$options, "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp");
	
	$order         = $this->formText('order',$this->data['order'],array('class'=>'txtshort'));
	
	// select box
	$options       = $this->options;
	$parents       = $this->mySelectBOx('parents', $this->data['parents'], $options);
	
	// form errors
	if(count($this->messageError)>0){
		$errors = $this->formErrors($this->messageError,array('id'=>'errors'));
	}
?>
<form name="appForm" method="post" action="">



                        <?php echo $this->render('admin-sub-menu/toolbar/index.php')?>
                        <div class="clr"></div>
                         <?php echo $this->render('admin-sub-menu/sublink/index.php')?>
                         <?php echo $errors?>
                        <!-- BEGIN: CONTENT -->
                        <div id="element-box">
                            <div class="t">
                                <div class="t">
                                    <div class="t"></div>
                                </div>
                            </div>
                            <div class="m">
                                <!-- BEGIN: ELEMENT BOX -->
						<div id="adminfieldset">
                             <div class="adminheader">Detail</div>
								
								<div id="row">
                                    <div class="label">Menu name:</div>
                                    <?php echo $menu_name;?>			
                                </div>
                                <div class="clr"></div>
                                                      
                                <div id="row">
                                    <div class="label">Status:</div>
                                    <?php echo $status;?>			
                                </div>
                                <div class="clr"></div>
                                
                                 <div id="row">
                                    <div class="label">Ordering:</div>
                                    <?php echo $order;?>			
                                </div>
                                <div class="clr"></div>
                                
                                <div id="row">
                                    <div class="label">Menu Parents:</div>
                                    <?php echo $parents;?>			
                                </div>
                                <div class="clr"></div>
                                
							</div>
							
                                <!-- END: ELEMENT BOX -->	
                              <div class="clr"></div>
                            </div>
                            <div class="b">
                                <div class="b">
                                    <div class="b"></div>
                                </div>
                            </div>
                        </div>
                        <!-- END: 	CONTENT -->
                    </form>